<?php
define ( 'TEST_HELPER_LOADED', true );
/**
 * PHPUnit depencies
 */
require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/Framework/IncompleteTestError.php';
require_once 'PHPUnit/Framework/TestCase.php';
require_once 'PHPUnit/Framework/TestSuite.php';
require_once 'PHPUnit/Runner/Version.php';
require_once 'PHPUnit/TextUI/TestRunner.php';
require_once 'PHPUnit/Util/Filter.php';
/**
 * error reporting
 */
error_reporting ( E_ALL | E_STRICT );
/**
 * 
 * @var string system root dir
 */
$sys_root = realpath(dirname ( __FILE__ ) . '/..');
/**
 * 
 * @var string root of our librarys
 */
$library_root = $sys_root . '/library';
/**
 * 
 * @var string test env dir
 */
$test_root = $sys_root . '/tests';
$include_path = array ($sys_root, $library_root, $test_root, get_include_path () );
set_include_path ( implode ( PATH_SEPARATOR, $include_path ) );

final class TestsHelper {
	public static function dumpVar($var) {
		ob_start();
        var_dump($var);
        $output = ob_get_clean();
        return $output;
	}
}